package com.easy.core.web.listener;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;

import org.springframework.web.context.ContextLoaderListener;

import com.easy.core.util.AppUtil;

public class StartupListener extends ContextLoaderListener{

	@Override
	public void contextInitialized(ServletContextEvent event) {
		super.contextInitialized(event);
		ServletContext application = event.getServletContext();
		application.setAttribute("Application_Start_Time", new java.util.Date());
		AppUtil.init(event.getServletContext());
	}

}
